<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><%- author %>评论列表</title>
    <%- include common %>

    <style>
        .thumbnail>img {
            height: 240px;
            width: 200px;
        }

        .thumbnail {
            cursor: pointer;
        }
    </style>
</head>

<body>
    <%- include("head",{title:"mlist",username}) %>

    <div class="container-fluid">
        <div class="row">
            <div class="col-md-6 col-sm-12">
                <h4 class="text-primary text-center">当前电影用户：<%- author %></h4>

            </div>
            <div class="col-md-6 col-sm-12">
                <h4 class="text-warning">电影评论列表</h4>
                <div class="well">
                    <%  result.forEach((item,index)=>{  %>
                    <div>
                        <p class="text-primary pull-right">评论人：<%- item.author%></p>
                        <p class="text-danger"><%- item.time %></p>
                        <p>
                            <%- item.title %>
                        </p>
                        <p class="text-info">
                            <%- item.content %>
                        </p>
                        <hr>
                    </div>
                    <%  })  %>
                </div>
            </div>
        </div>
    </div>
    <%- include("foot") %>

</body>


</html>